package math;


public class Ray {

	private Point3f origin;
	private Vector3f direction;
	
	public Ray(Point3f origin, Vector3f direction){
		this.origin = origin;
		this.direction = direction;
	}

	public void setOrigin(Point3f origin) {
		this.origin = origin;
	}

	public Point3f getOrigin() {
		return origin;
	}

	public void setDirection(Vector3f direction) {
		this.direction = direction;
	}

	public Vector3f getDirection() {
		return direction;
	}
	
	public String toString(){
		return "Point: " + origin.x + ", " + origin.y + ", " + origin.z + "   " +
		"Direction: " + direction.x + ", " + direction.y + ", " + direction.z;
	}
}
